package cn.hznc.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2024/4/15 10:34
 */
@Getter
@Setter
@Table(name = "t_assemble_task")
@TableName(value = "t_assemble_task")
public class AssembleTaskEntity{

    /**
     * 系统编码
     */
    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11,isKey = true,isAutoIncrement = true)
    @TableId(type = IdType.AUTO)
    private Integer id;


    /**
     * 总成主键id
     */
    @Column(name = "assembly_tool_type_id",type = MySqlTypeConstant.INT,length = 11)
    @TableField(value = "assembly_tool_type_id")
    private Integer assemblyToolTypeId;

    /**
     * 总成主键id
     */
    @Column(name = "task_id",type = MySqlTypeConstant.VARCHAR,length = 150)
    @TableField(value = "task_id")
    private String taskId;

    /**
     * (0是简单 ， 1是详细)
     */
    @Column(name = "type_flag",type = MySqlTypeConstant.TINYINT)
    @TableField(value = "type_flag")
    private Integer typeFlag;

}
